package com.ccbooks.bo.format;

import android.R.string;
import android.util.Log;

import cc.software.books.format.PluginPdb;

import com.ccbooks.util.BooksEngine;

public class PdbBo {
	private String filepath = null;
	private String charSet = null;
	
	public PdbBo(String filepath, String charSet) {
		super();
		this.filepath = filepath;
		this.charSet = charSet;
	}

	public String showStr(){
		String content = null;
		PluginPdb plugin = new PluginPdb();
		plugin.open(filepath);
		
		String str= plugin.getData(charSet);
		Log.d("vrix","pdb text: "+str);
		plugin.close();
		return content = str;
	}
	
}
